/*
 * Exploder
 * 
 * Tero Pyylampi (218437), Jussi Tuurinkoski (211594)
 *
 * Base class for different engines in the game
 */

#include "GameAbstractEngine.h"

// default constructor
GameAbstractEngine::GameAbstractEngine( EngineState state ) : mState( state ) {}
// default destructor
GameAbstractEngine::~GameAbstractEngine() {}

// resume engine after pause state
void GameAbstractEngine::resumeEngine() {
	mState = ENGINE_RUNNING;
}
// pause engine
void GameAbstractEngine::pauseEngine() {
	mState = ENGINE_PAUSED;
}

// update engine state
void GameAbstractEngine::update( cocos2d::ccTime dt ) {}
